<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<WASM.WebSite.Logic.TableGenericEntity>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Entity
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
	<h2>
		Entity</h2>
	<fieldset>
		<legend>Fields</legend>
		<p>
			PartitionKey:
			<%= Html.Encode(Model.PartitionKey) %>
		</p>
		<p>
			RowKey:
			<%= Html.Encode(Model.RowKey) %>
		</p>
		<br />
		Properties
		<table>
			<tr>
				<th>
					Name
				</th>
				<th>
					Value
				</th>
			</tr>
			<% foreach (var item in Model.Properties)
			{  %>
			<tr>
				<td>
					<%= Html.Encode(item.Key) %>
				</td>
				<td>
					<%= Html.Encode(item.Value) %>
				</td>
			</tr>
			<%} %>
		</table>
	</fieldset>
	<p>
		<%=Html.ActionLink("Back to Rows", "Rows", new { storageId = ViewData["storageId"], storageBoxId = ViewData["storageBoxId"] })%>
	</p>
</asp:Content>
